package com.rchat.pocmini.bean2eventbus;

import com.aso.common.eventbus.basebean.EventBusBaseBean;

/**
 * Created by sudf on 2017/9/12.
 */

public class BluetoothBean extends EventBusBaseBean {
    /**
     * 连接蓝牙
     */
    public static final int EVENT_CONNECT = 1;
    /**
     * 断开蓝牙
     */
    public static final int EVENT_DISCONNECT = 2;
    /**
     * 切换蓝牙设备
     */
    public static final int EVENT_CHANGECONNECT = 3;

    /**
     * 成功绑定蓝牙
     */
    public static final int EVENT_BIND = 4;

    /**
     * 成功解绑蓝牙
     */
    public static final int EVENT_UNBIND = 5;

    /**
     * ptt 按下
     */
    public static final int EVENT_PTT_DOWN = 6;

    /**
     * ptt松开
     */
    public static final int EVENT_PTT_UP = 7;

    /**
     * 刷新PTT是否可用状态
     */
    public static final int EVENT_ENABLE_PTT = 8;

    /**
     * 蓝牙MAC地址
     */
    private String address;

    /**
     * 是否为绑定的设备
     */
    private boolean isBind = false;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public boolean isBind() {
        return isBind;
    }

    public void setBind(boolean bind) {
        isBind = bind;
    }
}
